﻿
using Models;
namespace BlackMofo.BLL
{
    public class BLLFactory
    {
        #region Exhibit接口

        static Interfaces.IExhibitBLL _ExhibitBLL = null;
        /// <summary>
        /// 属性：BLL层Document对象接口
        /// </summary>
        public static Interfaces.IExhibitBLL ExhibitBLL
        {
            get
            {
                if (null == _ExhibitBLL)
                {
                    _ExhibitBLL = new Impls.ExhibitBLLImpl();
                }
                return _ExhibitBLL;
            }
        }

        #endregion Exhibit接口

        #region ExhibitType接口

        static Interfaces.IExhibitTypeBLL _ExhibitTypeBLL = null;
        /// <summary>
        /// 属性：BLL层Document对象接口
        /// </summary>
        public static Interfaces.IExhibitTypeBLL ExhibitTypeBLL
        {
            get
            {
                if (null == _ExhibitTypeBLL)
                {
                    _ExhibitTypeBLL = new Impls.ExhibitTypeBLLImpl();
                }
                return _ExhibitTypeBLL;
            }
        }

        #endregion ExhibitType接口

        #region ExhibitUnit接口

        static Interfaces.IExhibitUnitBLL _ExhibitUnitBLL = null;
        /// <summary>
        /// 属性：BLL层Document对象接口
        /// </summary>
        public static Interfaces.IExhibitUnitBLL ExhibitUnitBLL
        {
            get
            {
                if (null == _ExhibitUnitBLL)
                {
                    _ExhibitUnitBLL = new Impls.ExhibitUnitBLLImpl();
                }
                return _ExhibitUnitBLL;
            }
        }

        #endregion ExhibitUnit接口

        #region SysAdmin接口

        static Interfaces.ISysAdminBLL _SysAdminBLL = null;
        /// <summary>
        /// 属性：BLL层Document对象接口
        /// </summary>
        public static Interfaces.ISysAdminBLL SysAdminBLL
        {
            get
            {
                if (null == _SysAdminBLL)
                {
                    _SysAdminBLL = new Impls.SysAdminBLLImpl();
                }
                return _SysAdminBLL;
            }
        }

        #endregion SysAdmin接口

        #region User接口

        static Interfaces.IUserBLL _UserBLL = null;
        /// <summary>
        /// 属性：BLL层Document对象接口
        /// </summary>
        public static Interfaces.IUserBLL UserBLL
        {
            get
            {
                if (null == _UserBLL)
                {
                    _UserBLL = new Impls.UserBLLImpl();
                }
                return _UserBLL;
            }
        }

        #endregion User接口
    }
}
